﻿namespace Admin.NET.Core.Btms;

[SugarTable("TraShenQingHuanZhe", "输血申请患者表")]
public class TraShenQingHuanZhe : EntityBaseStringId, ITenantIdFilter
{
    /// <summary>
    /// 租户Id
    /// </summary>
    [SugarColumn(ColumnDescription = "租户Id", IsOnlyIgnoreUpdate = true)]
    public long? TenantId { get; set; }

    [SugarColumn(ColumnDescription = "患者代码(界面扫的)", Length = 128)]
    public string huanZheDaiMa { get; set; } = "";

    [SugarColumn(ColumnDescription = "患者ID", Length = 128)]
    public string huanZheId { get; set; } = "";

    [SugarColumn(ColumnDescription = "住院号", Length = 128)]
    public string zhuYuanHao { get; set; } = "";

    [SugarColumn(ColumnDescription = "门诊号", Length = 128)]
    public string menZhenHao { get; set; } = "";

    [SugarColumn(ColumnDescription = "身份证号", Length = 128)]
    public string shenFenZhengHao { get; set; } = "";

    [SugarColumn(ColumnDescription = "就诊类型(住院/门诊)", Length = 50)]
    public string jiuZhenLeiXing { get; set; } = "";

    [SugarColumn(ColumnDescription = "姓名", Length = 128)]
    public string xingMing { get; set; } = "";

    [SugarColumn(ColumnDescription = "初筛ABO", Length = 32)]
    public string chuShaiABO { get; set; } = "";

    [SugarColumn(ColumnDescription = "初筛RhD", Length = 32)]
    public string chuShaiRhD { get; set; } = "";

    [SugarColumn(ColumnDescription = "性别", Length = 50)]
    public string xingBie { get; set; } = "";

    [SugarColumn(ColumnDescription = "年龄", Length = 50)]
    public string nianLing { get; set; } = "";

    [SugarColumn(ColumnDescription = "身高", Length = 16, DecimalDigits = 4)]
    public decimal? shenGao { get; set; }

    [SugarColumn(ColumnDescription = "体重", Length = 16, DecimalDigits = 4)]
    public decimal? tiZhong { get; set; }

    [SugarColumn(ColumnDescription = "同意书", Length = 50)]
    public string tongYiShu { get; set; } = "";

    [SugarColumn(ColumnDescription = "出生日期(年日月)", Length = 50)]
    public string chuShengRiQi { get; set; } = "";

    [SugarColumn(ColumnDescription = "病区Id")]
    public long? bingQuId { get; set; }

    [SugarColumn(ColumnDescription = "病区名称", Length = 50)]
    public string bingQu { get; set; } = "";

    [SugarColumn(ColumnDescription = "床号", Length = 50)]
    public string chuangHao { get; set; } = "";

    [SugarColumn(ColumnDescription = "输血史", Length = 50)]
    public string shuXueShi { get; set; } = "";

    [SugarColumn(ColumnDescription = "输血反应史", Length = 50)]
    public string shuXueFanYingShi { get; set; } = "";

    [SugarColumn(ColumnDescription = "孕产史", Length = 50)]
    public string yunChanShi { get; set; } = "";

    [SugarColumn(ColumnDescription = "移植史 ", Length = 50)]
    public string yiZhiShi { get; set; } = "";

    [SugarColumn(ColumnDescription = "单病种", Length = 50)]
    public string danBingZhong { get; set; } = "";

    [SugarColumn(ColumnDescription = "ICD编码", Length = 50)]
    public string iCDBianMa { get; set; } = "";

    [SugarColumn(ColumnDescription = "临床诊断", Length = 1000)]
    public string linChuangZhenDuan { get; set; } = "";

    [SugarColumn(ColumnDescription = "复核ABO", Length = 32)]
    public string fuHeABO { get; set; } = "";

    [SugarColumn(ColumnDescription = "复核RhD", Length = 32)]
    public string fuHeRhD { get; set; } = "";
    [SugarColumn(ColumnDescription = "抗筛结果", Length = 32)]
    public string kangShaiJieGuo { get; set; } = "";

    [SugarColumn(ColumnDescription = "患者备注", Length = 256)]
    public string huanZheBeiZhu { get; set; } = "";

    [SugarColumn(ColumnDescription = "就诊Id", Length = 128)]
    public string jiuZhenId { get; set; } = "";

    [SugarColumn(ColumnDescription = "就诊次数")]
    public int? jiuZhenCiShu { get; set; }

    [SugarColumn(ColumnDescription = "输血指征", Length = 1000)]
    public string shuXueZhiZheng { get; set; } = "";

    [SugarColumn(ColumnDescription = "病情分析", Length = 1000)]
    public string bingQingFenXi { get; set; } = "";

    [SugarColumn(ColumnDescription = "出血量", Length = 128)]
    public string chuXueLiang { get; set; } = "";

    [SugarColumn(ColumnDescription = "预留1", Length = 250)]
    public string info1 { get; set; } = "";

    [SugarColumn(ColumnDescription = "预留2", Length = 250)]
    public string info2 { get; set; } = "";

    [SugarColumn(ColumnDescription = "预留3", Length = 250)]
    public string info3 { get; set; } = "";

    [SugarColumn(ColumnDescription = "预留4", Length = 250)]
    public string info4 { get; set; } = "";

    [SugarColumn(ColumnDescription = "预留5", Length = 250)]
    public string info5 { get; set; } = "";


}
